| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | describe('Direct Generator', function () { |
||
| 30 | it('Execute test Remoting method with request parameter', function() { |
||
| 31 | var value = ""; |
||
| 32 | Test.TestBundle.Test.testRequestParam({"id":"asd"}, function(data) { |
||
| 33 | value = data; |
||
| 34 | }); |
||
| 35 | waitsFor(function() { |
||
| 36 | return (value != "") |
||
| 37 | }, "The Value should be set", 2000); |
||
| 38 | runs(function() { |
||
| 39 | expect(value['result']).toBe('asd'); |
||
| 40 | }); |
||
| 41 | }); |
||
| 42 | }); |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.